<?php if ($captcha) { ?>
<div id="captcha_div" style="display:none;text-align: center;">
  <img id="captcha" src="<?php echo url_for('ct_documento/captchaImage') ?>" alt="CAPTCHA Image" />
  <br><br>
  <?php if (isset($error) && $error) { ?>
    <span id="error_captcha" class="error">Error de captcha: Ingreso un codigo incorrecto</span>
  <?php } ?>
  <br><br>
  <strong>Ingrese el codigo:</strong>
  <input type="text" id="captcha_code" name="captcha_code" size="10" maxlength="6" class="validate[required]"/>
  <a tabindex="-1" style="border-style: none;display: inline-block; margin-top: -4px; vertical-align: middle;" href="#" title="Refresh Image" onclick="changeCaptcha()"><img src="captcha/images/refresh.png" alt="Reload Image" onclick="this.blur()" align="bottom" border="0"></a><br />
</div>
<?php } ?>
